package com.itheima.service;

import com.itheima.pojo.Book;
import com.itheima.pojo.PageBean;

import java.util.List;

public interface BookService {
    PageBean page(Integer page, Integer pageSize, String name, String author, String press);

    void insertBook(Book book);

    void updateBook(Book book);

    Book getById(Integer id);

    void deleteById(List<Integer> ids);
}
